<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c_rt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"  prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jstl/fmt_rt"  prefix="fmt_rt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ page language="java" 
	import="java.util.*" 
	import="com.jp.fm.data.*"
	pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
	<head>
    	<base href="<%=basePath%>">
    
    	<title>HFM: Login</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
	
		<link rel="stylesheet" href="jquery-ui-1.10.0.custom/css/cupertino/jquery-ui-1.10.0.custom.css" />
		<script src="jquery-ui-1.10.0.custom/js/jquery-1.9.0.js" type="text/javascript"></script>
  		<script src="jquery-ui-1.10.0.custom/js/jquery-ui-1.10.0.custom.js" type="text/javascript"></script>
 
  		<link rel="stylesheet" href="css/fm.css" /> 
  		
  	</head>
	<body>
  		<div id="page" class="page">  		
  			<div id="mainbody" class="mainbody">
  			
  				<form action="Login" method="post">
  					<input type="text" id="username" name="username">
  					<input type="password" id="password" name="password">
  					<input type="submit">
  					<c:if test="${!empty error}">
  					<br/><span class="ui-state-highlight"><c:out value="${error}" /></span>
  					</c:if>
  				</form>
  			</div>  
		</div>					
	</body>
</html>